<template>
  <div class="urban-brain">
    <a-button type="primary" @click="clickLS">打开城市大脑</a-button>
  </div>
</template>
<script setup lang="ts">
// 引入组件&方法
import { defineProps, defineEmits, watch, onMounted, ref } from 'vue'
import { useRouter, useRoute } from 'vue-router'
const props = defineProps({})
const emits = defineEmits([])
// 自定义数据源
const router = useRouter()
const route = useRoute()
// 生命周期函数
onMounted(() => {})
// 自定义方法
//点击大屏按钮
const clickLS = () => {
  router.push('/large-screen')
}
</script>
<style lang="less" scoped>
.urban-brain {
}
</style>
